﻿#region Copyright Notice

//Copyright © 2007-2011, PARROT SA, all rights reserved. 

//DISCLAIMER 
//The APIs is provided by PARROT and contributors "AS IS" and any express or implied warranties, including, but not limited to, the implied warranties of merchantability 
//and fitness for a particular purpose are disclaimed. In no event shall PARROT and contributors be liable for any direct, indirect, incidental, special, exemplary, or 
//consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however 
//caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this 
//software, even if advised of the possibility of such damage. 

//Author            : Wilke Jansoone
//Email             : wilke.jansoone@digitude.net
//Publishing date   : 28/11/2010 

//Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions
//are met:
//    - Redistributions of source code must retain the above copyright notice, this list of conditions, the disclaimer and the original author of the source code.
//    - Neither the name of the PixVillage Team, nor the names of its contributors may be used to endorse or promote products derived from this software without 
//      specific prior written permission.

#endregion

#region Imports

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Wilke.Interactive.Drone.Control.Enumerations;

#endregion

namespace Wilke.Interactive.Drone.Control
{
    /// <summary>
    /// This class notifies consumers with the latest connection status of the ARDrone.
    /// </summary>
    public class ConnectionStatusChangedEventArgs: EventArgs
    {
        /// <summary>
        /// This property provides information on the connection status of the ARDrone.
        /// </summary>
        /// <value>Returns a <see cref="Wilke.Interactive.Drone.Control.Enumerations.ConnectionStatus"/> value.</value>
        public ConnectionStatus ConnectionStatus { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="ConnectionStatusChangedEventArgs"/> class.
        /// </summary>
        /// <param name="connectionStatus">The connection status.</param>
        public ConnectionStatusChangedEventArgs(ConnectionStatus connectionStatus)
        {
            this.ConnectionStatus = connectionStatus;
        }
    }
}
